package com.xiaoke.mapper;

import com.xiaoke.entity.GoodsGallery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface GoodsGalleryMapper {
    int deleteByPrimaryKey(String id);

    int insert(GoodsGallery record);

    int insertSelective(GoodsGallery record);

    GoodsGallery selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(GoodsGallery record);

    int updateByPrimaryKey(GoodsGallery record);

    List<GoodsGallery> findByGoods(String goodsId);
}